package com.yunfei.common.auto;
/**
 * Created by Administrator on 2017/5/10.
 */
public class GeneratorBase {
    public String tablename = "USER_OPER_LOG";//表名
    public static String db = "aiiidb";//表名
    public static String shortTableName="userOperLog";
    public static  String pageTitle = "评论附件";//指定页面生成的路径
    public static String codeBasePath="D:\\work\\giteeWorkSpace\\v2.0\\springclould_ylcaifu_App\\app-product-center\\src\\main\\resources";



    public boolean f_util = false; // 是否需要导入包java.util.*
    public boolean f_sql = false; // 是否需要导入包java.sql.*
    public static  String packageOutPath = "com.yunfei.modular.system";//指定实体生成所在包的路径
    public static  String packageOutPathMapper = "com.yunfei.mapper."+db;//指定实体生成所在包的路径
    public static  String CONTROLLER_PATH = "com.yunfei.modular.system.controller";//指定Controller所在路径
    public static  String Interface_PATH = "com.yunfei.modular.system.service";//指定接口所在路径
    public static  String InterfaceImpl_PATH = "com.yunfei.modular.system.service.impl";//指定接口实现类所在路径
    public static  String BO_PATH = "com.yunfei.bo."+shortTableName;//指定Bo所在路径
    public static  String ENTITY_PATH = "com.yunfei.entity."+shortTableName;//指定Entity所在路径
    public static  String MYBATIS_PATH = codeBasePath+"\\mybatis\\mapper\\"+db+"\\";//指定Mybatis所在路径

    public static  String pagePath =codeBasePath+ "\\resources\\views\\"+shortTableName+"\\";//指定页面路径
    public static  String pageOutPath = "/"+shortTableName+"/";//指定页面路径
    public static  String ModelViewPath = "../views/"+shortTableName+"";//指定页面路径
    public static  String pageOutPathPreIndex = ""+shortTableName+"/";//指定页面访问前缀

    public static  String namespace = packageOutPath+".";//指定实体生成所在包的路径
    public String authorName = "zhengyunfei";//作者名字



    public String[] colnames; // 列名数组
    public String[] colTypes; //列名类型数组
    public String[] colLabels; //列名备注
    public String[] flags; //列名主键类型
    public int[] colSizes; //列名大小数组
    //controll requestMapping id
   // public static final String controlMapper= CapitalizeUtil.replaceUnderlineAndfirstToUpper(GeneratorBase.tablename.toLowerCase(),"_","");
    //数据库连接 mysql 数据库
   /* public static final String URL ="jdbc:mysql://localhost:3306/ylcf";
    public static final String NAME = "root";
    public static final String PASS = "root";
    public static final String DRIVER ="com.mysql.jdbc.Driver";*/
    //oracle数据库链接
/*    public static final String URL ="jdbc:oracle:thin:@10.0.100.223:1521:aiiidb";
    public static final String NAME = "aigroup";
    public static final String PASS = "aigroup";
    public static final String DRIVER ="oracle.jdbc.driver.OracleDriver";*/
    //ods
    public static final String URL ="jdbc:oracle:thin:@10.0.100.223:1521:aiiidb";
    public static final String NAME = "aigroup";
    public static final String PASS = "aigroup";
    public static final String DRIVER ="oracle.jdbc.driver.OracleDriver";
}
